package com.chinaunicom.circularref;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/11/25 15:38
 * Description:
 */

@Data
public class TestC {

	private TestA testA;

	@Autowired
	public TestC(TestA testA){
		this.testA = testA;
	}

	public void c(){
		this.testA.a();
	}

	public void setTestA(TestA testA){
		this.testA = testA;
	}

	public TestA getTestA(){
		return  this.testA;
	}

	public TestC(){}
}
